function of bounded variation